package cn.snmp.mutual.nms;

public class SnmpGauge extends SnmpUnsignedInt
{
    public SnmpGauge(final long l) {
        super(l);
        this.Type = 66;
    }
    
    @Override
    int encode(final byte[] bytes, final int i) throws ArrayIndexOutOfBoundsException {
        return ASNTypes.encodeUInt(bytes, i, (int)this.numberValue, 66);
    }
    
    @Override
    public String toTagString() {
        return "Gauge : " + Long.toString(this.numberValue);
    }
}
